package tech.swh.ssm.until;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

import tech.swh.ssm.service.BackService;

public class Test {

	public static void main(String[] args) {
		ApplicationContext ac = new ClassPathXmlApplicationContext("applicationcontext.xml");
		BackService bs = (BackService) ac.getBean("backendServiceImpl");
		System.out.println(bs.getBackend("admin", "123456"));
	}
}
